package com.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * <p>
 * 图片标注详情表
 * </p>
 *
 * @author chl
 * @since 2024-10-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="DefectPictureLabelDetail对象", description="图片标注详情表")
public class DefectPictureLabelDetail {

    private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "主键")
	private Long id;

	@ApiModelProperty(value = "识别图片id 关联表：defect_recognition_picture_detail，字段：id")
	private Long recognitionPictureId;

	@ApiModelProperty(value = "标注类型 algorithm=算法识别，manual=手动标注；详见字典表，编码为：label_type")
	private String labelType;

	@ApiModelProperty(value = "部件")
	private String component;

	@ApiModelProperty(value = "部件类型")
	private String componentType;

	@ApiModelProperty(value = "部位")
	private String part;

	@ApiModelProperty(value = "缺陷等级 详见字典表，编码为：defect_level")
	private String defectLevel;

	@ApiModelProperty(value = "缺陷描述")
	private String defectDescription;

	@ApiModelProperty(value = "分类依据")
	private String classBasis;

	@ApiModelProperty(value = "是否标准框 no=否，yes=是；详见字典表，编码为：common_yes_no")
	private String isStandardBox;

	@ApiModelProperty(value = "是否正确框 no=否，yes=是；详见字典表，编码为：common_yes_no")
	private String isCorrectBox;

	@ApiModelProperty(value = "标注状态 详见字典标，编码为：label_status")
	private String labelStatus;

	@ApiModelProperty(value = "登记时间")
	private Date registeredTime;

	@ApiModelProperty(value = "登记人")
	private String registeredUser;

	@ApiModelProperty(value = "标注框的类型，详见字典表：box_type")
	private String boxType;

	@ApiModelProperty(value = "缺陷框在图片中的位置")
	private String positions;

	@ApiModelProperty(value = "缺陷框图片id 关联表：allcore_attach，字段：id")
	private Long defectPictureId;

	@ApiModelProperty(value = "缺陷框名称")
	private String defectName;

	@ApiModelProperty(value = "具体位置")
	private String detailedDescription;

	@ApiModelProperty(value = "消缺状态 no_solve=未消缺，already_solve=已消缺；详见字典表，编码为：eliminate_defect_status")
	private String eliminateDefectStatus;

	@ApiModelProperty(value = "消缺时间")
	private Date eliminateDefectTime;

	@ApiModelProperty(value = "消缺图片id 关联表：allcore_attach，字段：id")
	private Long eliminateDefectPictureId;

	@ApiModelProperty(value = "使用的算法id")
	private Long algorithmId;

	@ApiModelProperty(value = "中台缺陷id，登记后有值")
	private String otherId;

	@ApiModelProperty(value = "创建人")
	private Long createUser;

	@ApiModelProperty(value = "创建部门")
	private Long createDept;

	@ApiModelProperty(value = "创建时间")
	private Date createTime;

	@ApiModelProperty(value = "修改人")
	private Long updateUser;

	@ApiModelProperty(value = "修改时间")
	private Date updateTime;

	@ApiModelProperty(value = "是否删除 0=否，1=是；详见字典表，编码为：yes_no")
	private Integer isDeleted;



}
